<%--
  Created by IntelliJ IDEA.
  User: MySunshine
  Date: 2022/10/26
  Time: 10:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>Title</title>
    <style>
        body {
            font-family: "Dosis", sans-serif;
            text-align: center;
            background-color:  #243b55;
        }

        #menu {
            width: 150px;
            height: 150px;
            position: absolute;
            left: 50%;
            top: 50%;
            margin: -75px 0 0 -75px;
            list-style: none;
            font-size: 200%;
        }

        .menu-button {
            opacity: 0;
            z-index: -1;
        }

        .menu-button {
            width:200px;
            height:200px;
            position: absolute;
            left: 40%;
            top: 40%;
            margin: -70px 0 0 -75px;
            border-radius: 50%;
            background: #424242;
            background-size: 100%;
            overflow: hidden;
            text-decoration: none;
        }
        .menu-button:hover{
            background-color: #a1a1a1;
        }

        #menu:not(:target)>a:first-of-type,
        #menu:target>a:last-of-type {
            opacity: 1;
            z-index: 1;
        }

        #menu:not(:target)>.icon-plus:before,
        #menu:target>.icon-minus:before {
            opacity: 1;
        }

        .menu-item {
            width:100px;
            height:100px;
            position: absolute;
            left: 55%;
            line-height: 5px;
            top: 50%;
            margin: -50px 0 0 -50px;
            border-radius: 50%;
            background-color: #424242;
            transform: translate(0px, 0px);
            transition: transform 500ms;

        }
        .menu-item:hover {
           background-color: #f9f8f8;
            opacity: 0.5;
            box-shadow: 0 5px 10px black;
        }

        .menu-item a {
            color: #fff;
            text-align: center;
            line-height: 100%;
            position: relative;
            top: 30%;
            left: 0;
            font-size: 15px;
            text-decoration: none;
        }
        .menu-item a p:hover{
            color: #ff0108;
        }
        #menu:target>.menu-item:nth-child(6) {
            transform: rotate(60deg) translateY(-150px) rotate(300deg);
            transition-delay: 0s;
        }

        #menu:target>.menu-item:nth-child(5) {
            transform: rotate(20deg) translateY(-155px) rotate(-20deg);
            transition-delay: 0.1s;
        }

        #menu:target>.menu-item:nth-child(3) {
            transform: rotate(-20deg) translateY(-155px) rotate(20deg);
            transition-delay: 0.2s;
        }

        #menu:target>.menu-item:nth-child(4) {
            transform: rotate(-60deg) translateY(-150px) rotate(60deg);
            transition-delay: 0.3s;
        }
        .p1{
            color: rgba(255, 3, 3, 0.32);
            text-align: center;
            font-size: 20px;
            position: absolute;
            top: 70px;
            left:8px;
        }
        .p2{
            color: rgba(255, 3, 3, 0.32);

            font-size: 20px;
            position: absolute;
            top:36%;
            left:32%;

        }
    </style>
</head>
<body>
<div class="container">
    <div id="menu">
        <a class="menu-button icon-plus" href="#menu" title="Show navigation">  <p class="p1">${name}管理员欢迎您</p></a>
        <a class="menu-button icon-minus" href="#0" title="Hide navigation"> <p class="p2">请选择</p></a>
        <div class="menu-item">
            <a href="/page/dba/dbaUserMge.jsp">
                <p class="fa fa-github">用户管理</p>
            </a>
        </div>
        <div class="menu-item">
            <a href="/page/dba/dbaBookMge.jsp">
                <p class="fa fa-linkedin">书籍管理</p>
            </a>
        </div>

        <div class="menu-item">
            <a href="/page/dba/dbaKindMge.jsp"  >
                <p class="fa fa-instagram">书籍类型管理</p>
            </a>
        </div>
        <div class="menu-item">
            <a href="/DbaSelectByNum?num=${num}">
                <p class="fa fa-twitter">管理员信息</p>
            </a>
        </div>
    </div>
</div>
</body>
<script src="../../layui/layui.js"></script>
</html>
